// 文章类型
export interface Article {
    id: number;
    userId: number;
    username: string;
    createTime: string;
    title: string;
    content: string;
    typeId: number;
    type: string;
    describe: string;
    avatar?: string;
}

// 广告Banner
export interface Banner {
    banner_img: string;
    id: number;
    text: string;
}

// 分类
export interface Type {
    id: number;
    name: string;
}

// 评论
export interface Message {
    id?: number;
    userId: number;
    articleId: number;
    content: string;
    createTime: Date;
}

// 评论
export interface MessageVO {
    id?: number;
    userId: number;
    articleId: number;
    content: string;
    createTime: Date;
    username: string;
    avatar: string;
}

// 用户信息
export interface UserInfo {
    userId: string;
    username: string;
    identify: string;
    createTime: string;
    avatar: string;
    token: string;
}
